python code to find the area of triangle